Skip to content

Conversation

@nyurik
Copy link
Contributor

@nyurik nyurik commented Jun 5, 2025

I was not sure what each hook does, so proposing this PR to avoid ambiguity

P.S. Note that it is currently a bit unclear if these hooks apply to all the text files, or all files including binaries, etc. Please clarify

nyurik and others added 2 commits June 5, 2025 15:49
I was not sure what each hook does, so proposing this PR to avoid ambiguity
@nyurik
Copy link
Contributor Author

nyurik commented Jun 5, 2025

hmm, are these errors related?

@Lucas-C
Copy link
Owner

Lucas-C commented Jun 6, 2025

hmm, are these errors related?

Yes, the mdformat had to be run on README.md.

I just added a commit on this PR branch to do that, and also add a sentence to clarify which hooks apply to text files, as you suggested. Note that it can also be seen by checking the presence of types: [text] in .pre-commit-hooks.yaml.

I'm merging this now, thank you for your contribution @nyurik 👍

@Lucas-C Lucas-C merged commit abdd8b6 into Lucas-C:master Jun 6, 2025
@nyurik nyurik deleted the patch-1 branch June 6, 2025 07:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants